package com.bensonbasement.snorflux.memory;

import java.io.Serializable;

public abstract class WorldElementInfo implements Serializable {
	public enum WorldElementType {
		SPACE, SMALLENTITY, BIGENTITY;
	}
	
	private final WorldElementType type;
	private final long worldElementID;
	
	private final String glyph;
	private final String name;
	
	protected WorldElementInfo(WorldElementType type, long worldElementID, String glyph, String name) {
		this.type = type;
		this.worldElementID = worldElementID;
		this.glyph = glyph;
		this.name = name;
	}

	public WorldElementType getType() {
		return type;
	}

	public String getGlyph() {
		return glyph;
	}

	public String getName() {
		return name;
	}

	public long getWorldElementID() {
		return worldElementID;
	}
}
